package com.alex.jdbc.example;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String email;
    private Integer tid;
    private String tname;

    public User(String name, String email, Integer tid) {
        this.name = name;
        this.email = email;
        this.tid = tid;
    }
}
